package com.itheima.test3;

public class Good {
    private int id;
    private String goodName;
    private int price;
    private int count;

    public Good() {
    }

    public Good(int id, String goodName, int price, int count) {
        this.id = id;
        this.goodName = goodName;
        this.price = price;
        this.count = count;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
